import QtQuick 2.8
import QtQuick.Controls 2.1
import QtQuick.Layouts 1.3
import QtWeChat 1.0
import "./controls"

Page {
    id: root

    property WeChatContactModel model

    padding: 0
    background: Item {}

    RowLayout {
        anchors.fill: parent
        spacing: 0

        ContactBar {
            id: contactBar
            Layout.fillHeight: true
            model: root.model
        }

        Rectangle {
            color: "blue"
            Layout.fillWidth: true
            Layout.fillHeight: true

            Text {
                Layout.fillWidth: true
                text: menuBar.menuOption
            }
        }
    }
}
